package com.time.auth.domain.constants;

/**
 * auth服务的常量类
 *
 * @author: HuangQi
 * @date: Created in 15:05 2025/9/18
 * @description: auth服务的常量
 */
public class AuthConstant {

    /**
     * 普通用户
     */
    public static final String GUEST_USER = "guest";

    /**
     * 超级管理员用户
     */
    public static final String ADMIN_USER = "admin";

    /**
     * 后台管理员用户
     */
    public static final String MANAGER_USER = "manager";

    /**
     * 文章编辑用户
     */
    public static final String EDITOR_USER = "editor";

    /**
     * 登录前缀
     */
    public static final String LOGIN_PREFIX = "loginCode";


    /**
     * 用户权限前缀
     */
    public static final String AUTH_PERMISSION_USER_PREFIX = "auth.user.permission";

    /**
     * 用户角色前缀
     */
    public static final String AUTH_ROLE_USER_PREFIX = "auth.user.role";

    /**
     * 管理员用户权限前缀
     */
    public static final String AUTH_PERMISSION_ADMIN_PREFIX = "auth.admin.permission";

    /**
     * 管理员用户角色前缀
     */
    public static final String AUTH_ROLE_ADMIN_PREFIX = "auth.admin.role";

    /**
     * 管理员用户类型
     */
    public static final String ADMIN_USER_TYPE = "admin";

    /**
     * 普通用户类型
     */
    public static final String NORMAL_USER_TYPE = "user";

    /**
     * 默认用户头像地址
     */
    public static final String DEFAULT_USER_AVATAR = "https://pic1.imgdb.cn/item/68d9fe68c5157e1a8842b286.png";

    /**
     * 默认管理员用户头像地址
     */
    public static final String DEFAULT_ADMIN_USER_AVATAR = "https://pic1.imgdb.cn/item/68d9fe68c5157e1a8842b287.png";

    /**
     * 默认管理员用户密码
     */
    public static final String DEFAULT_ADMIN_USER_PASSWORD = "shy20020523";
}
